﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Inventory.aspx.cs" Inherits="admin_Inventory" MasterPageFile="~/admin/admin.master" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" runat="server"  contentplaceholderid="ContentPlaceHolder1">
    <div class="grid_16" id="content">
    <!--  TITLE START  --> 
    <div class="grid_9">
    <h1 class="inventory">Inventory&nbsp;
    <asp:ToolkitScriptManager   ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>
        </h1>
    </div>
    
  <div class="portlet">
     
		<div class="portlet-content nopadding">

          
            <div class="floatRight" id="right">
            <div id="searchwrapper" >
             <form action="" class="searchbox">
                <asp:TextBox type="text" class="searchbox" ID="tb_search" runat="server"></asp:TextBox>
                <asp:Image ID="Image1" runat="server" ImageUrl="images/blank.gif" CssClass="searchbox_submit" />
            </form>
        </div> 
         
        </div>
        
           
          
        </asp:Panel>
          <asp:Panel ID="Panel1" runat="server" >
            <table width="100%" cellpadding="0" cellspacing="0" id="Table1"  
                style="line-height: 40px; ">
            <thead>
              <tr >
                <th width="136" scope="col" style="text-align:left">&nbsp;Secction Name</th>
                <th width="136" scope="col"  style="text-align:left">&nbsp;</th>
                <th width="90   " scope="col"  style="text-align:left" ># Employee</th>
               
              </tr>
            </thead>
            <tbody>
            <% if (accountarr != null && accountarr.Count > 0)
               {
                   foreach (RE_GenericBean rgb in accountarr)
                   {
            %>
              <tr  style="line-height: 40px; border-top-style: solid; border-top-width: thin; border-top-color: #CCCCCC;">
                <td width="116">&nbsp;<a href="Ams_general.aspx?account=<%=rgb.intC1 %>"><%=rgb.strC1 %></a></td>
                <td width="116"><%=rgb.strC3 %></td>
                <td width="40"><%=rgb.intC3 %></td>
              </tr>
            <%     }
               }
            %>
            </tbody>
            </table>
             
            <br /><br />
        </asp:Panel>
         <asp:Panel ID="PAccount" runat="server" >
            <table width="100%" cellpadding="0" cellspacing="0" id="Table_acc"  
                style="line-height: 40px; ">
            <thead>
              <tr >
                <th width="136" scope="col" style="text-align:left">&nbsp;Family Name</th>
                <th width="136" scope="col"  style="text-align:left">&nbsp;</th>
                <th width="90   " scope="col"  style="text-align:left" ># Employee</th>
               
              </tr>
            </thead>
            <tbody>
            <% if (accountarr != null && accountarr.Count > 0)
               {
                   foreach (RE_GenericBean rgb in accountarr)
                   {
            %>
              <tr  style="line-height: 40px; border-top-style: solid; border-top-width: thin; border-top-color: #CCCCCC;">
                <td width="116">&nbsp;<a href="Ams_general.aspx?account=<%=rgb.intC1 %>"><%=rgb.strC1 %></a></td>
                <td width="116"><%=rgb.strC3 %></td>
                <td width="40"><%=rgb.intC3 %></td>
              </tr>
            <%     }
               }
            %>
            </tbody>
            </table>
            <br /><br />
        </asp:Panel>
       
        <asp:Panel ID="PCompany" runat="server">
                 <table ID="box-table-a" cellpadding="0" cellspacing="0" 
                     style="line-height: 40px" width="100%">
                     <thead>
                         <tr>
                             <th scope="col" width="166">
                                 Codigo</th>
                             <th scope="col" width="66">
                                 Codigo de Barras</th>
                             <th scope="col" width="210">
                                 Descripcion</th>
                             <th scope="col" width="110">
                                 Precio</th>
                             <th scope="col" width="55">
                                 Localidad</th>
                             <th scope="col" width="55">
                                 Fabricante</th>
                         </tr>
                     </thead>
                     <tbody>
                         <% if (companyarr != null && companyarr.Count > 0)
               {
                   foreach (RE_GenericBean rgb in companyarr)
                   {
            %>
                         <tr>
                             <td width="166">
                                 &nbsp;<a href="Ams_general.aspx?company=<%=rgb.intC1 %>"><%=rgb.strC1 %></a></td>
                             <td width="66">
                                 <%=rgb.strC15 %>
                             </td>
                             <td width="210">
                                 <%=rgb.strC3 %>&nbsp;<%=rgb.strC4 %></td>
                             <td width="110">
                                 <%=rgb.strC9 %>
                             </td>
                             <td style="text-align:center" width="55">
                                 <%=rgb.intC2 %>
                             </td>
                             <td style="text-align:center" width="55">
                                 <%=rgb.intC3 %>
                             </td>
                         </tr>
                         <%     }
               }
            %>
                     </tbody>
                 </table>
                 <br />
                 <br  />
             </asp:Panel>
       
    </div>
</div>
    </div>
</asp:Content>


